#include "hardware_controller/base_controller.h"

int main(int argc, char* argv[]){
  // std::string glog_dir = "/home/xxty/user_data/logs";
  // common::glog::init(glog_dir, "hardware_controller");

  rclcpp::init(argc, argv);
  auto node = std::make_shared<base_controller::BaseController>();
  
//   while(rclcpp::ok() && node->polling()) {
//         rclcpp::spin_some(node);
//   }

  rclcpp::spin(node);

  // common::glog::shutdown();
  rclcpp::shutdown();
  return 0;
}